package com.liya.service;

import com.liya.pojo.User;

import java.util.Set;

/**
 * @author LiYa
 * @version 1.0
 * @className UserService
 * @description TODO
 * @science 2020/9/22 16:41
 */
public interface UserService {
    Set<User> getAll();
    boolean addOne(User user);
    boolean removeOne(User user);
    boolean modifyOne(User user);
    boolean removeSome(Set<Integer> userIds);
    //模糊查询用户，以address为条件
    Set<User> getUserThatAddressLike(String address);
    //根据用户姓名、电话、角色名进行模糊查询
    Set<User> getUserWithMultiCondition(String userName, String userPhone, String roleName);
}

